
package com.app.hmst.model;

import java.util.List;

import com.roscopeco.ormdroid.Entity;

public class SubCategoryVO extends Entity{
	public int id;
	public String no;
   	public String title;
	public String categoryId;
	
	public SubCategoryVO(){
		this(null, null, null);
	}
	
	
	public SubCategoryVO(String no, String title, String categoryId) {
		this.no = no;
		this.title = title;
		this.categoryId = categoryId;
	}
	
	
	public List<IndicatorVO> indicators() {
		return query(IndicatorVO.class).where("subCategoryId").eq(id).executeMulti();
	}
	
	
	
	
	
	
}
